import { requestType } from '~/config/enum.config'

const SERVICE = 'common-service'
const CONTROLLER = 'dataPoolController'

export default {
  /**
   * 获取特殊数据字典
   */
   getDataPools: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getDataPools',
    type: requestType.Get
  },
  /**
   * 获取点击当前数据字典
   */
   getDataPool: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getDataPool',
    type: requestType.Get
  },
  /**
   * 增加或修改特殊数据字典
   */
  addDataPoolDict: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'addDataPoolDict',
    type: requestType.Post
  },
  /**
   * 获取父级特殊数据字典
   */
  getDataPoolParent: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getDataPoolParent',
    type: requestType.Get
  },
  /**
   * 删除特殊数据字典
   */
  deleteDataDict: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'deleteDataDict',
    type: requestType.Delete
  },
  
  
}
